//
//  MLRefreshControlConstants.h
//
//  Created by molon on 15/8/19.
//  Copyright (c) 2015年 molon. All rights reserved.
//

#ifndef MOLON_MLRefreshControlConstants_h
#define MOLON_MLRefreshControlConstants_h

typedef void (^MLRefreshControlActionBlock)(void);

//当前刷新的状态
typedef enum {
    MLRefreshControlStateNormal, //平时状态
    MLRefreshControlStatePulling, //下拉状态
    MLRefreshControlStateOverstep, //下拉超过一定限度(松开即会刷新)
    MLRefreshControlStateRefreshing //正在刷新状态
} MLRefreshControlState;

typedef enum {
    MLRefreshControlViewStyleFollow, //跟随列表动
    MLRefreshControlViewStyleFixed, //固定位置
} MLRefreshControlViewStyle;

#define kMLRefreshControlViewHeight 50.0f
#define kMLRefreshControlAnimateDuration .25f

#endif
